package test.jackys_one;

//import test.jackys_one.R.drawable;
//import android.app.ActionBar.LayoutParams;
//import android.app.*;

import android.app.Activity;
import android.os.Bundle;

//import android.widget.Button;
//import android.widget.ImageView;
import android.widget.LinearLayout;
//import android.widget.Toast;
import android.content.Intent;


//import android.content.Intent;
//import android.graphics.Color;

//import android.view.Gravity;
//import android.view.MotionEvent;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.ViewGroup.LayoutParams;
//import android.widget.Toast;





public class jackys_one extends Activity {
    /** Called when the activity is first created. */
	

    
	
    
    @Override
    
    public void onCreate(Bundle savedInstanceState) {
    	setTheme(android.R.style.Theme_NoTitleBar);
    
    	super.onCreate(savedInstanceState);
    	LinearLayout.LayoutParams params = new LinearLayout.LayoutParams(LayoutParams.FILL_PARENT, LayoutParams.FILL_PARENT);
    	LinearLayout layout = new LinearLayout(this);
    	layout.setLayoutParams(params);
    	setContentView(layout);
    	
    	
            layout.setBackgroundResource(R.drawable.mainload); // <-- �대�遺꾩뿉���먰븯���됱긽�대굹  �대�吏�줈 諛곌꼍��梨꾩슦�쒕㈃�⑸땲��
    	
    	
            layout.setOnClickListener(new OnClickListener() {
    		@Override
    		public void onClick(View v) {
    			// TODO Auto-generated method stub
    			Intent intent = new Intent(jackys_one.this, main.class);
    			startActivity(intent);
    		}
    	});
    }
}

    //*테스트입니다.
    /*
    	super.onCreate(savedInstanceState);
     	   
       setContentView(R.layout.main);
   // @Override
    
       ImageView iv = new ImageView(this);
      //  iv.setBackgroundResource(R.layout.main);
        iv.setOnClickListener(new View.OnClickListener() {
        
       	public void onClick(View v) {
                Intent i = new Intent(jackys_one.this, main.class);
                startActivity(i);
                finish();
            }
        });
        setContentView(iv);
   /* public boolean onTouchEvent(MotionEvent event)
    {
    	
    	
    	Intent intent = new Intent(jackys_one.this, main.class); // 占쎈뗀�껓옙怨쀭뒄占쏙옙main.java �꾬옙		startActivity(intent);
    	return true;
    }
    
    */


    
